<?php
                echo '<tr>';
                echo '<td>'.date('d.m.Y', $splitedRecord[0]).'</td>';
                echo '<td>'.$splitedRecord[1].'</td>';
                echo '<td>'.$splitedRecord[2].'</td>';
                echo '<td>'.$groups[$splitedRecord[3]].'</td>';
                echo '<td>';
                echo '<form style="display: inline" method="post" action="delete.php">';
                echo '<input type="hidden" name="delete" value="'.$counter.'"/>';
                echo '<input type="submit" value="Delete"/>';
                echo '</form>';
                echo '</td>';
                echo '</tr>';
                $totalSum = $totalSum + $splitedRecord[2];
?>
